package com.easy.frame.servers.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.easy.frame.base.api.pojo.BasePO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 供应商（推荐）表
 *
 * @author msp
 * @since 2020-12-31
 */
@Getter
@Setter
@ToString
@TableName("sys_supplier")
@ApiModel("供应商（推荐）表")
public class SysSupplier extends BasePO {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("品牌名称")
    private String name;

    @ApiModelProperty("企业名称")
    private Long tenantId;

    @ApiModelProperty("logo图标url")
    private String logoUrl;

    @ApiModelProperty("推荐星级")
    private Integer stars;

    @ApiModelProperty("是否推荐")
    private Integer recommended;

    @ApiModelProperty("排序")
    private Integer seq;
}